<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link href="css/mui.min.css" rel="stylesheet" type="text/css">
		<script src="js/jquery-1.11.1.js"></script>
		<script type="text/javascript" src="js/jquery.qrcode.min.js"></script>
		<script type="text/javascript" src="js/base64.min.js"></script>
		<title>活动登记</title>
		<style>
			.mui-content input,
			.mui-content select {
				font-size: 16px
			}
			
			.mui-card {
				border-radius: 8px;
			}
			
			canvas {
				width: 100%
			}
		</style>
	</head>

	<body>
		<div class="mui-content">
			<div class="top" style="background:#2388FA;padding:30px 0;margin:10px;box-shadow: 0 5px 10px #2388FA;">
				<img src="img/logo-b.png" style="width:60%;display:block;margin:0 auto">
			</div>
			<div class="mui-card">
				<div id="qrcode" style="width:60%;margin:20px auto;text-align: center;"></div>
			</div>
			<!--<div class="footer">
				<button class="mui-btn mui-btn-primary mui-btn-block" id="xg" style="width:90%;border-radius: 15px;padding:5px 0;margin:20px auto;">更新信息</button>
				<button class="mui-btn mui-btn-success mui-btn-block" id="ck" style="width:90%;border-radius: 15px;padding:5px 0;margin:20px auto;">查看信息</button>
			</div>-->
		</div>
		<script src="js/mui.min.js"></script>
		<script>
			$(function() {
				var hb_id = sessionStorage.getItem("id_prikey")
				$.post("selectListByOpenId", {
					"id_prikey": id_prikey
				}, function(data) {
					alert(JSON.stringify(data))
					var rel = data.data[0].活动号;
					$('#qrcode').qrcode(rel)

				})
				
			})
		</script>
	</body>

</html>